#ifndef UI_LVGL_H
#define UI_LVGL_H

#include "lvgl.h"
#include "lcd.h"
#include "lvgl.h"
#include "lv_port_disp.h"
#include "lv_port_indev.h"

#include "FreeRTOS.h"
#include "task.h"
#include "semphr.h"

#include "data_play_ui.h"

#define LCD_W 240//lcddev.width
#define LCD_H 320//lcddev.height


typedef enum
{
    MENU_HOME,
    MENU_LED,
	MENU_CPU,
    MENU_DATA,
	MENU_INVALID,
}menu_t;


extern menu_t menu;
extern lv_obj_t* cont;
extern void (*pMenucb)(void);

#endif
